<template>
	<view>
		<view class="gaps"></view>
		<uni-list>
			<uni-list-item title="限购" showArrow clickable @click="limitSaleClick"></uni-list-item>
			<uni-list-item title="抽奖" showArrow clickable @click="lotteryManage"></uni-list-item>
			<uni-list-item title="抽奖广告" showArrow clickable @click="lotteryAd"></uni-list-item>
			<!-- <uni-list-item title="秒杀" showArrow clickable @click="seckillManage"></uni-list-item> -->
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				shopId:''
			}
		},
		onLoad(options) {
			this.shopId = options.shopId
		},
		methods: {
			limitSaleClick() {
				uni.navigateTo({
					url:'/subpkg/shops/limitSale/limitSale?shopId=' + this.shopId 
				})
			},
			lotteryManage() {
				uni.navigateTo({
					url:'/subpkg/shops/lotteryManage/lotteryManage?shopId=' + this.shopId
				})
			},
			seckillManage() {
				uni.navigateTo({
					url :'/subpkg/shops/seckillGoods/seckillGoods?shopId=' + this.shopId
				})
			},
			lotteryAd() {
				uni.navigateTo({
					url:'/subpkg/shops/shopAd/shopAd?shopId=' + this.shopId
				})
			}
		}
	}
</script>

<style>

</style>
